<script type="text/html" template lay-done="layui.data.done(d);">
    <table class="layui-table layui-form" lay-filter="LAY-app-CoreCmsUserTocash-detailsForm" id="LAY-app-CoreCmsUserTocash-detailsForm">
        <colgroup>
            <col width="100">
            <col>
        </colgroup>
        <tbody>

            <tr>
                <td>
                    <label for="id">id</label>
                </td>
                <td>
                    {{ d.params.data.model.id || '' }}
                </td>
            </tr>

            <tr>
                <td>
                    <label for="userId">用户ID</label>
                </td>
                <td>
                    {{ d.params.data.model.userId || '' }}
                </td>
            </tr>

            <tr>
                <td>
                    <label for="money">提现金额</label>
                </td>
                <td>
                    {{ d.params.data.model.money || '' }}
                </td>
            </tr>

            <tr>
                <td>
                    <label for="bankName">银行名称</label>
                </td>
                <td>
                    {{ d.params.data.model.bankName || '' }}
                </td>
            </tr>

            <tr>
                <td>
                    <label for="bankCode">银行缩写</label>
                </td>
                <td>
                    {{ d.params.data.model.bankCode || '' }}
                </td>
            </tr>

            <tr>
                <td>
                    <label for="bankAreaId">账号地区ID</label>
                </td>
                <td>
                    {{ d.params.data.model.bankAreaId || '' }}
                </td>
            </tr>

            <tr>
                <td>
                    <label for="accountBank">开户行</label>
                </td>
                <td>
                    {{ d.params.data.model.accountBank || '' }}
                </td>
            </tr>

            <tr>
                <td>
                    <label for="accountName">账户名</label>
                </td>
                <td>
                    {{ d.params.data.model.accountName || '' }}
                </td>
            </tr>

            <tr>
                <td>
                    <label for="cardNumber">卡号</label>
                </td>
                <td>
                    {{ d.params.data.model.cardNumber || '' }}
                </td>
            </tr>

            <tr>
                <td>
                    <label for="withdrawals">提现服务费</label>
                </td>
                <td>
                    {{ d.params.data.model.withdrawals || '' }}
                </td>
            </tr>

            <tr>
                <td>
                    <label for="status">提现状态</label>
                </td>
                <td>
                    {{# layui.each(indexData.userTocashStatus, function(index, item){ }}
                    {{# if (d.params.data.model.status===item.value)  {}}
                    {{ item.title }}
                    {{# }}}
                    {{# }); }}
                </td>
            </tr>

            <tr>
                <td>
                    <label for="createTime">创建时间</label>
                </td>
                <td>
                    {{ d.params.data.model.createTime || '' }}
                </td>
            </tr>

            <tr>
                <td>
                    <label for="updateTime">更新时间</label>
                </td>
                <td>
                    {{ d.params.data.model.updateTime || '' }}
                </td>
            </tr>

            <tr>
                <td>
                    <label for="type">提现方式</label>
                </td>
                <td>
                    {{# layui.each(indexData.userTocashType, function(index, item){ }}
                    {{# if (d.params.data.model.type===item.value)  {}}
                    {{ item.title }}
                    {{# }}}
                    {{# }); }}
                </td>
            </tr>

            <tr>
                <td>
                    <label for="message">反馈结果</label>
                </td>
                <td>
                    {{ d.params.data.model.message || '' }}
                </td>
            </tr>

        </tbody>
    </table>
</script>
<script>
    var debug = layui.setter.debug;
    layui.data.done = function (d) {
        //开启调试情况下获取接口赋值数据
        if (debug) { console.log(d.params.data); }

        layui.use(['admin', 'form', 'coreHelper'], function () {
            var $ = layui.$
                , setter = layui.setter
                , admin = layui.admin
                , coreHelper = layui.coreHelper
                , form = layui.form;
            form.render(null, 'LAY-app-CoreCmsUserTocash-detailsForm');
        });
    };
</script>